//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.restaurant.application.coupon.support;

import com.google.common.collect.Lists;
import com.nebutown.generation.Convert;
import com.nebutown.generation.PickableBean;
import com.nebutown.generation.basictype.UID;
import com.restaurant.application.couponmanage.support.CouponManageAndShopListData;
import java.util.List;
import java.util.stream.Collectors;

public class CouponData implements PickableBean {
    public static final String FN_COUPONMANAGEUID = "couponManageUid";
    public static final String FN_NUMBER = "number";
    public static final String FN_ENDTIME = "endTime";
    public static final String FN_RECEIVETIME = "receiveTime";
    public static final String FN_TYPE = "type";
    public static final String FN_MODALITY = "modality";
    public static final String FN_FULLMONEY = "fullMoney";
    public static final String FN_MINUSMONEY = "minusMoney";
    public static final String FN_SHOPLIST = "shopList";
    public static final String FN_SHOPNAMELIST = "shopNameList";
    public static final String FN_REMARKS = "remarks";
    public static final String FN_STATE = "state";
    public static final String FN_ID = "id";
    public static final String FN_MODIFYTIME = "modifyTime";
    public static final String FN_CREATETIME = "createTime";
    public static final String FN_CUSTOMERID = "customerId";
    public static final String FN_CUSTOMERUID = "customerUid";
    public static final String FN_CUSTOMERNAME = "customerName";
    public static final String FN_PHONE = "phone";
    public static final String FN_QRCODEURL = "qrCodeUrl";
    public static final String FN_QRCODEUID = "qrCodeUid";
    public static final String FN_COUPONSTATE = "couponState";
    public static final String FN_CURRENTCUSTOMERID = "currentCustomerId";
    public static final String FN_CURRENTCUSTOMERUID = "currentCustomerUid";
    public static final String FN_CURRENTCUSTOMERNAME = "currentCustomerName";
    public static final String FN_CURRENTPHONE = "currentPhone";
    public static final String FN_USEDCUSTOMERID = "usedCustomerId";
    public static final String FN_USEDCUSTOMERUID = "usedCustomerUid";
    public static final String FN_USEDCUSTOMERNAME = "usedCustomerName";
    public static final String FN_USEDPHONE = "usedPhone";
    public static final String FN_USEDTIME = "usedTime";
    public static final String FN_USERID = "userId";
    public static final String FN_USERUID = "userUid";
    public static final String FN_USERNAME = "userName";
    public static final String FN_VERSION = "version";
    public static final List<String> FIELD_NAMES = Lists.newArrayList(new String[]{"couponManageUid", "number", "endTime", "receiveTime", "type", "modality", "fullMoney", "minusMoney", "shopList", "shopNameList", "remarks", "state", "id", "modifyTime", "createTime", "customerId", "customerUid", "customerName", "phone", "qrCodeUrl", "qrCodeUid", "couponState", "currentCustomerId", "currentCustomerUid", "currentCustomerName", "currentPhone", "usedCustomerId", "usedCustomerUid", "usedCustomerName", "usedPhone", "usedTime", "userId", "userUid", "userName", "version"});
    private UID couponManageUid;
    private String number;
    private Long endTime;
    private Long receiveTime;
    private String type;
    private String modality;
    private Double fullMoney;
    private Double minusMoney;
    private List<CouponManageAndShopListData> shopList;
    private List<String> shopNameList;
    private String remarks;
    private String state;
    private String id;
    private Long modifyTime;
    private Long createTime;
    private String customerId;
    private UID customerUid;
    private String customerName;
    private String phone;
    private String qrCodeUrl;
    private UID qrCodeUid;
    private String couponState;
    private String currentCustomerId;
    private UID currentCustomerUid;
    private String currentCustomerName;
    private String currentPhone;
    private String usedCustomerId;
    private UID usedCustomerUid;
    private String usedCustomerName;
    private String usedPhone;
    private Long usedTime;
    private String userId;
    private UID userUid;
    private String userName;
    private Integer version;

    public CouponData(UID couponManageUid, String number, Long endTime, Long receiveTime, String type, String modality, Double fullMoney, Double minusMoney, List<CouponManageAndShopListData> shopList, List<String> shopNameList, String remarks, String state, String id, Long modifyTime, Long createTime, String customerId, UID customerUid, String customerName, String phone, String qrCodeUrl, UID qrCodeUid, String couponState, String currentCustomerId, UID currentCustomerUid, String currentCustomerName, String currentPhone, String usedCustomerId, UID usedCustomerUid, String usedCustomerName, String usedPhone, Long usedTime, String userId, UID userUid, String userName, Integer version) {
        this.setCouponManageUid(couponManageUid);
        this.setNumber(number);
        this.setEndTime(endTime);
        this.setReceiveTime(receiveTime);
        this.setType(type);
        this.setModality(modality);
        this.setFullMoney(fullMoney);
        this.setMinusMoney(minusMoney);
        this.setShopList(shopList);
        this.setShopNameList(shopNameList);
        this.setRemarks(remarks);
        this.setState(state);
        this.setId(id);
        this.setModifyTime(modifyTime);
        this.setCreateTime(createTime);
        this.setCustomerId(customerId);
        this.setCustomerUid(customerUid);
        this.setCustomerName(customerName);
        this.setPhone(phone);
        this.setQrCodeUrl(qrCodeUrl);
        this.setQrCodeUid(qrCodeUid);
        this.setCouponState(couponState);
        this.setCurrentCustomerId(currentCustomerId);
        this.setCurrentCustomerUid(currentCustomerUid);
        this.setCurrentCustomerName(currentCustomerName);
        this.setCurrentPhone(currentPhone);
        this.setUsedCustomerId(usedCustomerId);
        this.setUsedCustomerUid(usedCustomerUid);
        this.setUsedCustomerName(usedCustomerName);
        this.setUsedPhone(usedPhone);
        this.setUsedTime(usedTime);
        this.setUserId(userId);
        this.setUserUid(userUid);
        this.setUserName(userName);
        this.setVersion(version);
    }

    public CouponData() {
    }

    public CouponData duplicate() {
        CouponData result = new CouponData();
        result.couponManageUid = this.couponManageUid;
        result.number = this.number;
        result.endTime = this.endTime;
        result.receiveTime = this.receiveTime;
        result.type = this.type;
        result.modality = this.modality;
        result.fullMoney = this.fullMoney;
        result.minusMoney = this.minusMoney;
        result.shopList = this.shopList == null ? null : (List)this.shopList.stream().map((e1) -> {
            return e1 == null ? null : e1.duplicate();
        }).collect(Collectors.toList());
        result.shopNameList = this.shopNameList == null ? null : (List)this.shopNameList.stream().map((e2) -> {
            return e2;
        }).collect(Collectors.toList());
        result.remarks = this.remarks;
        result.state = this.state;
        result.id = this.id;
        result.modifyTime = this.modifyTime;
        result.createTime = this.createTime;
        result.customerId = this.customerId;
        result.customerUid = this.customerUid;
        result.customerName = this.customerName;
        result.phone = this.phone;
        result.qrCodeUrl = this.qrCodeUrl;
        result.qrCodeUid = this.qrCodeUid;
        result.couponState = this.couponState;
        result.currentCustomerId = this.currentCustomerId;
        result.currentCustomerUid = this.currentCustomerUid;
        result.currentCustomerName = this.currentCustomerName;
        result.currentPhone = this.currentPhone;
        result.usedCustomerId = this.usedCustomerId;
        result.usedCustomerUid = this.usedCustomerUid;
        result.usedCustomerName = this.usedCustomerName;
        result.usedPhone = this.usedPhone;
        result.usedTime = this.usedTime;
        result.userId = this.userId;
        result.userUid = this.userUid;
        result.userName = this.userName;
        result.version = this.version;
        return result;
    }

    public String toString() {
        return Convert.toJson(this);
    }

    public UID getCouponManageUid() {
        return this.couponManageUid;
    }

    public void setCouponManageUid(UID value) {
        this.couponManageUid = value;
    }

    public CouponData withCouponManageUid(UID value) {
        this.setCouponManageUid(value);
        return this;
    }

    public CouponData withCouponManageUid(UID value, UID defaultValue) {
        this.setCouponManageUid(value == null ? defaultValue : value);
        return this;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String value) {
        this.number = value;
    }

    public CouponData withNumber(String value) {
        this.setNumber(value);
        return this;
    }

    public CouponData withNumber(String value, String defaultValue) {
        this.setNumber(value == null ? defaultValue : value);
        return this;
    }

    public Long getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Long value) {
        this.endTime = value;
    }

    public CouponData withEndTime(Long value) {
        this.setEndTime(value);
        return this;
    }

    public CouponData withEndTime(Long value, Long defaultValue) {
        this.setEndTime(value == null ? defaultValue : value);
        return this;
    }

    public Long getReceiveTime() {
        return this.receiveTime;
    }

    public void setReceiveTime(Long value) {
        this.receiveTime = value;
    }

    public CouponData withReceiveTime(Long value) {
        this.setReceiveTime(value);
        return this;
    }

    public CouponData withReceiveTime(Long value, Long defaultValue) {
        this.setReceiveTime(value == null ? defaultValue : value);
        return this;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String value) {
        this.type = value;
    }

    public CouponData withType(String value) {
        this.setType(value);
        return this;
    }

    public CouponData withType(String value, String defaultValue) {
        this.setType(value == null ? defaultValue : value);
        return this;
    }

    public String getModality() {
        return this.modality;
    }

    public void setModality(String value) {
        this.modality = value;
    }

    public CouponData withModality(String value) {
        this.setModality(value);
        return this;
    }

    public CouponData withModality(String value, String defaultValue) {
        this.setModality(value == null ? defaultValue : value);
        return this;
    }

    public Double getFullMoney() {
        return this.fullMoney;
    }

    public void setFullMoney(Double value) {
        this.fullMoney = value;
    }

    public CouponData withFullMoney(Double value) {
        this.setFullMoney(value);
        return this;
    }

    public CouponData withFullMoney(Double value, Double defaultValue) {
        this.setFullMoney(value == null ? defaultValue : value);
        return this;
    }

    public Double getMinusMoney() {
        return this.minusMoney;
    }

    public void setMinusMoney(Double value) {
        this.minusMoney = value;
    }

    public CouponData withMinusMoney(Double value) {
        this.setMinusMoney(value);
        return this;
    }

    public CouponData withMinusMoney(Double value, Double defaultValue) {
        this.setMinusMoney(value == null ? defaultValue : value);
        return this;
    }

    public List<CouponManageAndShopListData> getShopList() {
        if (this.shopList == null) {
            this.shopList = Lists.newArrayList();
        }

        return this.shopList;
    }

    public void setShopList(List<CouponManageAndShopListData> value) {
        this.shopList = value;
    }

    public CouponData withShopList(List<CouponManageAndShopListData> value) {
        this.setShopList(value);
        return this;
    }

    public CouponData withShopList(List<CouponManageAndShopListData> value, List<CouponManageAndShopListData> defaultValue) {
        this.setShopList(value == null ? defaultValue : value);
        return this;
    }

    public CouponData addShopList(CouponManageAndShopListData value) {
        if (this.shopList == null) {
            this.shopList = Lists.newArrayList();
        }

        this.shopList.add(value);
        return this;
    }

    public List<String> getShopNameList() {
        if (this.shopNameList == null) {
            this.shopNameList = Lists.newArrayList();
        }

        return this.shopNameList;
    }

    public void setShopNameList(List<String> value) {
        this.shopNameList = value;
    }

    public CouponData withShopNameList(List<String> value) {
        this.setShopNameList(value);
        return this;
    }

    public CouponData withShopNameList(List<String> value, List<String> defaultValue) {
        this.setShopNameList(value == null ? defaultValue : value);
        return this;
    }

    public CouponData addShopNameList(String value) {
        if (this.shopNameList == null) {
            this.shopNameList = Lists.newArrayList();
        }

        this.shopNameList.add(value);
        return this;
    }

    public String getRemarks() {
        return this.remarks;
    }

    public void setRemarks(String value) {
        this.remarks = value;
    }

    public CouponData withRemarks(String value) {
        this.setRemarks(value);
        return this;
    }

    public CouponData withRemarks(String value, String defaultValue) {
        this.setRemarks(value == null ? defaultValue : value);
        return this;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String value) {
        this.state = value;
    }

    public CouponData withState(String value) {
        this.setState(value);
        return this;
    }

    public CouponData withState(String value, String defaultValue) {
        this.setState(value == null ? defaultValue : value);
        return this;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String value) {
        this.id = value;
    }

    public CouponData withId(String value) {
        this.setId(value);
        return this;
    }

    public CouponData withId(String value, String defaultValue) {
        this.setId(value == null ? defaultValue : value);
        return this;
    }

    public Long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Long value) {
        this.modifyTime = value;
    }

    public CouponData withModifyTime(Long value) {
        this.setModifyTime(value);
        return this;
    }

    public CouponData withModifyTime(Long value, Long defaultValue) {
        this.setModifyTime(value == null ? defaultValue : value);
        return this;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Long value) {
        this.createTime = value;
    }

    public CouponData withCreateTime(Long value) {
        this.setCreateTime(value);
        return this;
    }

    public CouponData withCreateTime(Long value, Long defaultValue) {
        this.setCreateTime(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerId() {
        return this.customerId;
    }

    public void setCustomerId(String value) {
        this.customerId = value;
    }

    public CouponData withCustomerId(String value) {
        this.setCustomerId(value);
        return this;
    }

    public CouponData withCustomerId(String value, String defaultValue) {
        this.setCustomerId(value == null ? defaultValue : value);
        return this;
    }

    public UID getCustomerUid() {
        return this.customerUid;
    }

    public void setCustomerUid(UID value) {
        this.customerUid = value;
    }

    public CouponData withCustomerUid(UID value) {
        this.setCustomerUid(value);
        return this;
    }

    public CouponData withCustomerUid(UID value, UID defaultValue) {
        this.setCustomerUid(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerName() {
        return this.customerName;
    }

    public void setCustomerName(String value) {
        this.customerName = value;
    }

    public CouponData withCustomerName(String value) {
        this.setCustomerName(value);
        return this;
    }

    public CouponData withCustomerName(String value, String defaultValue) {
        this.setCustomerName(value == null ? defaultValue : value);
        return this;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String value) {
        this.phone = value;
    }

    public CouponData withPhone(String value) {
        this.setPhone(value);
        return this;
    }

    public CouponData withPhone(String value, String defaultValue) {
        this.setPhone(value == null ? defaultValue : value);
        return this;
    }

    public String getQrCodeUrl() {
        return this.qrCodeUrl;
    }

    public void setQrCodeUrl(String value) {
        this.qrCodeUrl = value;
    }

    public CouponData withQrCodeUrl(String value) {
        this.setQrCodeUrl(value);
        return this;
    }

    public CouponData withQrCodeUrl(String value, String defaultValue) {
        this.setQrCodeUrl(value == null ? defaultValue : value);
        return this;
    }

    public UID getQrCodeUid() {
        return this.qrCodeUid;
    }

    public void setQrCodeUid(UID value) {
        this.qrCodeUid = value;
    }

    public CouponData withQrCodeUid(UID value) {
        this.setQrCodeUid(value);
        return this;
    }

    public CouponData withQrCodeUid(UID value, UID defaultValue) {
        this.setQrCodeUid(value == null ? defaultValue : value);
        return this;
    }

    public String getCouponState() {
        return this.couponState;
    }

    public void setCouponState(String value) {
        this.couponState = value;
    }

    public CouponData withCouponState(String value) {
        this.setCouponState(value);
        return this;
    }

    public CouponData withCouponState(String value, String defaultValue) {
        this.setCouponState(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerId() {
        return this.currentCustomerId;
    }

    public void setCurrentCustomerId(String value) {
        this.currentCustomerId = value;
    }

    public CouponData withCurrentCustomerId(String value) {
        this.setCurrentCustomerId(value);
        return this;
    }

    public CouponData withCurrentCustomerId(String value, String defaultValue) {
        this.setCurrentCustomerId(value == null ? defaultValue : value);
        return this;
    }

    public UID getCurrentCustomerUid() {
        return this.currentCustomerUid;
    }

    public void setCurrentCustomerUid(UID value) {
        this.currentCustomerUid = value;
    }

    public CouponData withCurrentCustomerUid(UID value) {
        this.setCurrentCustomerUid(value);
        return this;
    }

    public CouponData withCurrentCustomerUid(UID value, UID defaultValue) {
        this.setCurrentCustomerUid(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerName() {
        return this.currentCustomerName;
    }

    public void setCurrentCustomerName(String value) {
        this.currentCustomerName = value;
    }

    public CouponData withCurrentCustomerName(String value) {
        this.setCurrentCustomerName(value);
        return this;
    }

    public CouponData withCurrentCustomerName(String value, String defaultValue) {
        this.setCurrentCustomerName(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentPhone() {
        return this.currentPhone;
    }

    public void setCurrentPhone(String value) {
        this.currentPhone = value;
    }

    public CouponData withCurrentPhone(String value) {
        this.setCurrentPhone(value);
        return this;
    }

    public CouponData withCurrentPhone(String value, String defaultValue) {
        this.setCurrentPhone(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerId() {
        return this.usedCustomerId;
    }

    public void setUsedCustomerId(String value) {
        this.usedCustomerId = value;
    }

    public CouponData withUsedCustomerId(String value) {
        this.setUsedCustomerId(value);
        return this;
    }

    public CouponData withUsedCustomerId(String value, String defaultValue) {
        this.setUsedCustomerId(value == null ? defaultValue : value);
        return this;
    }

    public UID getUsedCustomerUid() {
        return this.usedCustomerUid;
    }

    public void setUsedCustomerUid(UID value) {
        this.usedCustomerUid = value;
    }

    public CouponData withUsedCustomerUid(UID value) {
        this.setUsedCustomerUid(value);
        return this;
    }

    public CouponData withUsedCustomerUid(UID value, UID defaultValue) {
        this.setUsedCustomerUid(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerName() {
        return this.usedCustomerName;
    }

    public void setUsedCustomerName(String value) {
        this.usedCustomerName = value;
    }

    public CouponData withUsedCustomerName(String value) {
        this.setUsedCustomerName(value);
        return this;
    }

    public CouponData withUsedCustomerName(String value, String defaultValue) {
        this.setUsedCustomerName(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedPhone() {
        return this.usedPhone;
    }

    public void setUsedPhone(String value) {
        this.usedPhone = value;
    }

    public CouponData withUsedPhone(String value) {
        this.setUsedPhone(value);
        return this;
    }

    public CouponData withUsedPhone(String value, String defaultValue) {
        this.setUsedPhone(value == null ? defaultValue : value);
        return this;
    }

    public Long getUsedTime() {
        return this.usedTime;
    }

    public void setUsedTime(Long value) {
        this.usedTime = value;
    }

    public CouponData withUsedTime(Long value) {
        this.setUsedTime(value);
        return this;
    }

    public CouponData withUsedTime(Long value, Long defaultValue) {
        this.setUsedTime(value == null ? defaultValue : value);
        return this;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String value) {
        this.userId = value;
    }

    public CouponData withUserId(String value) {
        this.setUserId(value);
        return this;
    }

    public CouponData withUserId(String value, String defaultValue) {
        this.setUserId(value == null ? defaultValue : value);
        return this;
    }

    public UID getUserUid() {
        return this.userUid;
    }

    public void setUserUid(UID value) {
        this.userUid = value;
    }

    public CouponData withUserUid(UID value) {
        this.setUserUid(value);
        return this;
    }

    public CouponData withUserUid(UID value, UID defaultValue) {
        this.setUserUid(value == null ? defaultValue : value);
        return this;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String value) {
        this.userName = value;
    }

    public CouponData withUserName(String value) {
        this.setUserName(value);
        return this;
    }

    public CouponData withUserName(String value, String defaultValue) {
        this.setUserName(value == null ? defaultValue : value);
        return this;
    }

    public Integer getVersion() {
        return this.version;
    }

    public void setVersion(Integer value) {
        this.version = value;
    }

    public CouponData withVersion(Integer value) {
        this.setVersion(value);
        return this;
    }

    public CouponData withVersion(Integer value, Integer defaultValue) {
        this.setVersion(value == null ? defaultValue : value);
        return this;
    }

    public Object getValueOf(String name) {
        byte var3 = -1;
        switch(name.hashCode()) {
            case -2103439280:
                if (name.equals("receiveTime")) {
                    var3 = 3;
                }
                break;
            case -1848052830:
                if (name.equals("currentCustomerName")) {
                    var3 = 24;
                }
                break;
            case -1772071022:
                if (name.equals("customerUid")) {
                    var3 = 16;
                }
                break;
            case -1693757583:
                if (name.equals("fullMoney")) {
                    var3 = 6;
                }
                break;
            case -1664529515:
                if (name.equals("usedCustomerUid")) {
                    var3 = 27;
                }
                break;
            case -1607243192:
                if (name.equals("endTime")) {
                    var3 = 2;
                }
                break;
            case -1581184615:
                if (name.equals("customerId")) {
                    var3 = 15;
                }
                break;
            case -1439168202:
                if (name.equals("usedCustomerId")) {
                    var3 = 26;
                }
                break;
            case -1034364087:
                if (name.equals("number")) {
                    var3 = 1;
                }
                break;
            case -836030906:
                if (name.equals("userId")) {
                    var3 = 31;
                }
                break;
            case -636559374:
                if (name.equals("currentCustomerId")) {
                    var3 = 22;
                }
                break;
            case -622722335:
                if (name.equals("modality")) {
                    var3 = 5;
                }
                break;
            case -345533260:
                if (name.equals("shopList")) {
                    var3 = 8;
                }
                break;
            case -279409622:
                if (name.equals("usedTime")) {
                    var3 = 30;
                }
                break;
            case -266666762:
                if (name.equals("userName")) {
                    var3 = 33;
                }
                break;
            case -259224795:
                if (name.equals("couponManageUid")) {
                    var3 = 0;
                }
                break;
            case -147142523:
                if (name.equals("userUid")) {
                    var3 = 32;
                }
                break;
            case -75485263:
                if (name.equals("usedPhone")) {
                    var3 = 29;
                }
                break;
            case -61023258:
                if (name.equals("usedCustomerName")) {
                    var3 = 28;
                }
                break;
            case 3355:
                if (name.equals("id")) {
                    var3 = 12;
                }
                break;
            case 3575610:
                if (name.equals("type")) {
                    var3 = 4;
                }
                break;
            case 106642798:
                if (name.equals("phone")) {
                    var3 = 18;
                }
                break;
            case 109757585:
                if (name.equals("state")) {
                    var3 = 11;
                }
                break;
            case 351608024:
                if (name.equals("version")) {
                    var3 = 34;
                }
                break;
            case 755649247:
                if (name.equals("shopNameList")) {
                    var3 = 9;
                }
                break;
            case 900157321:
                if (name.equals("customerName")) {
                    var3 = 17;
                }
                break;
            case 1091415283:
                if (name.equals("remarks")) {
                    var3 = 10;
                }
                break;
            case 1211388583:
                if (name.equals("modifyTime")) {
                    var3 = 13;
                }
                break;
            case 1339477442:
                if (name.equals("qrCodeUid")) {
                    var3 = 20;
                }
                break;
            case 1339477729:
                if (name.equals("qrCodeUrl")) {
                    var3 = 19;
                }
                break;
            case 1369213417:
                if (name.equals("createTime")) {
                    var3 = 14;
                }
                break;
            case 1454707573:
                if (name.equals("currentPhone")) {
                    var3 = 25;
                }
                break;
            case 1717838859:
                if (name.equals("couponState")) {
                    var3 = 21;
                }
                break;
            case 1741507673:
                if (name.equals("currentCustomerUid")) {
                    var3 = 23;
                }
                break;
            case 1811910192:
                if (name.equals("minusMoney")) {
                    var3 = 7;
                }
        }

        switch(var3) {
            case 0:
                return this.getCouponManageUid();
            case 1:
                return this.getNumber();
            case 2:
                return this.getEndTime();
            case 3:
                return this.getReceiveTime();
            case 4:
                return this.getType();
            case 5:
                return this.getModality();
            case 6:
                return this.getFullMoney();
            case 7:
                return this.getMinusMoney();
            case 8:
                return this.getShopList();
            case 9:
                return this.getShopNameList();
            case 10:
                return this.getRemarks();
            case 11:
                return this.getState();
            case 12:
                return this.getId();
            case 13:
                return this.getModifyTime();
            case 14:
                return this.getCreateTime();
            case 15:
                return this.getCustomerId();
            case 16:
                return this.getCustomerUid();
            case 17:
                return this.getCustomerName();
            case 18:
                return this.getPhone();
            case 19:
                return this.getQrCodeUrl();
            case 20:
                return this.getQrCodeUid();
            case 21:
                return this.getCouponState();
            case 22:
                return this.getCurrentCustomerId();
            case 23:
                return this.getCurrentCustomerUid();
            case 24:
                return this.getCurrentCustomerName();
            case 25:
                return this.getCurrentPhone();
            case 26:
                return this.getUsedCustomerId();
            case 27:
                return this.getUsedCustomerUid();
            case 28:
                return this.getUsedCustomerName();
            case 29:
                return this.getUsedPhone();
            case 30:
                return this.getUsedTime();
            case 31:
                return this.getUserId();
            case 32:
                return this.getUserUid();
            case 33:
                return this.getUserName();
            case 34:
                return this.getVersion();
            default:
                return null;
        }
    }

    public void setValueOf(String name, Object value) {
        byte var4 = -1;
        switch(name.hashCode()) {
            case -2103439280:
                if (name.equals("receiveTime")) {
                    var4 = 3;
                }
                break;
            case -1848052830:
                if (name.equals("currentCustomerName")) {
                    var4 = 24;
                }
                break;
            case -1772071022:
                if (name.equals("customerUid")) {
                    var4 = 16;
                }
                break;
            case -1693757583:
                if (name.equals("fullMoney")) {
                    var4 = 6;
                }
                break;
            case -1664529515:
                if (name.equals("usedCustomerUid")) {
                    var4 = 27;
                }
                break;
            case -1607243192:
                if (name.equals("endTime")) {
                    var4 = 2;
                }
                break;
            case -1581184615:
                if (name.equals("customerId")) {
                    var4 = 15;
                }
                break;
            case -1439168202:
                if (name.equals("usedCustomerId")) {
                    var4 = 26;
                }
                break;
            case -1034364087:
                if (name.equals("number")) {
                    var4 = 1;
                }
                break;
            case -836030906:
                if (name.equals("userId")) {
                    var4 = 31;
                }
                break;
            case -636559374:
                if (name.equals("currentCustomerId")) {
                    var4 = 22;
                }
                break;
            case -622722335:
                if (name.equals("modality")) {
                    var4 = 5;
                }
                break;
            case -345533260:
                if (name.equals("shopList")) {
                    var4 = 8;
                }
                break;
            case -279409622:
                if (name.equals("usedTime")) {
                    var4 = 30;
                }
                break;
            case -266666762:
                if (name.equals("userName")) {
                    var4 = 33;
                }
                break;
            case -259224795:
                if (name.equals("couponManageUid")) {
                    var4 = 0;
                }
                break;
            case -147142523:
                if (name.equals("userUid")) {
                    var4 = 32;
                }
                break;
            case -75485263:
                if (name.equals("usedPhone")) {
                    var4 = 29;
                }
                break;
            case -61023258:
                if (name.equals("usedCustomerName")) {
                    var4 = 28;
                }
                break;
            case 3355:
                if (name.equals("id")) {
                    var4 = 12;
                }
                break;
            case 3575610:
                if (name.equals("type")) {
                    var4 = 4;
                }
                break;
            case 106642798:
                if (name.equals("phone")) {
                    var4 = 18;
                }
                break;
            case 109757585:
                if (name.equals("state")) {
                    var4 = 11;
                }
                break;
            case 351608024:
                if (name.equals("version")) {
                    var4 = 34;
                }
                break;
            case 755649247:
                if (name.equals("shopNameList")) {
                    var4 = 9;
                }
                break;
            case 900157321:
                if (name.equals("customerName")) {
                    var4 = 17;
                }
                break;
            case 1091415283:
                if (name.equals("remarks")) {
                    var4 = 10;
                }
                break;
            case 1211388583:
                if (name.equals("modifyTime")) {
                    var4 = 13;
                }
                break;
            case 1339477442:
                if (name.equals("qrCodeUid")) {
                    var4 = 20;
                }
                break;
            case 1339477729:
                if (name.equals("qrCodeUrl")) {
                    var4 = 19;
                }
                break;
            case 1369213417:
                if (name.equals("createTime")) {
                    var4 = 14;
                }
                break;
            case 1454707573:
                if (name.equals("currentPhone")) {
                    var4 = 25;
                }
                break;
            case 1717838859:
                if (name.equals("couponState")) {
                    var4 = 21;
                }
                break;
            case 1741507673:
                if (name.equals("currentCustomerUid")) {
                    var4 = 23;
                }
                break;
            case 1811910192:
                if (name.equals("minusMoney")) {
                    var4 = 7;
                }
        }

        switch(var4) {
            case 0:
                this.setCouponManageUid((UID)value);
                return;
            case 1:
                this.setNumber((String)value);
                return;
            case 2:
                this.setEndTime((Long)value);
                return;
            case 3:
                this.setReceiveTime((Long)value);
                return;
            case 4:
                this.setType((String)value);
                return;
            case 5:
                this.setModality((String)value);
                return;
            case 6:
                this.setFullMoney((Double)value);
                return;
            case 7:
                this.setMinusMoney((Double)value);
                return;
            case 8:
                this.setShopList((List)value);
                return;
            case 9:
                this.setShopNameList((List)value);
                return;
            case 10:
                this.setRemarks((String)value);
                return;
            case 11:
                this.setState((String)value);
                return;
            case 12:
                this.setId((String)value);
                return;
            case 13:
                this.setModifyTime((Long)value);
                return;
            case 14:
                this.setCreateTime((Long)value);
                return;
            case 15:
                this.setCustomerId((String)value);
                return;
            case 16:
                this.setCustomerUid((UID)value);
                return;
            case 17:
                this.setCustomerName((String)value);
                return;
            case 18:
                this.setPhone((String)value);
                return;
            case 19:
                this.setQrCodeUrl((String)value);
                return;
            case 20:
                this.setQrCodeUid((UID)value);
                return;
            case 21:
                this.setCouponState((String)value);
                return;
            case 22:
                this.setCurrentCustomerId((String)value);
                return;
            case 23:
                this.setCurrentCustomerUid((UID)value);
                return;
            case 24:
                this.setCurrentCustomerName((String)value);
                return;
            case 25:
                this.setCurrentPhone((String)value);
                return;
            case 26:
                this.setUsedCustomerId((String)value);
                return;
            case 27:
                this.setUsedCustomerUid((UID)value);
                return;
            case 28:
                this.setUsedCustomerName((String)value);
                return;
            case 29:
                this.setUsedPhone((String)value);
                return;
            case 30:
                this.setUsedTime((Long)value);
                return;
            case 31:
                this.setUserId((String)value);
                return;
            case 32:
                this.setUserUid((UID)value);
                return;
            case 33:
                this.setUserName((String)value);
                return;
            case 34:
                this.setVersion((Integer)value);
                return;
            default:
        }
    }

    public boolean hasField(String name) {
        return FIELD_NAMES.contains(name);
    }

    public int hashCode() {
        return this.signature().hashCode();
    }

    public boolean equals(Object o) {
        return !(o instanceof CouponData) ? false : this.signature().equals(((CouponData)o).signature());
    }

    public String signature() {
        throw new RuntimeException("Bean CouponData has no signature defined, no hash code or equals possible.");
    }
}
